package com.pucong.gitee.database.backup.common.entity.service.vo;

import com.pucong.gitee.database.backup.common.selfenum.CommonBoolenEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author pucong
 */
@Data
@ApiModel("文件信息返回vo")
public class ServiceFileTreeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("文件路径")
    private String filePath;

    @ApiModelProperty("文件名称")
    private String fileName;

    @ApiModelProperty("类型 0目录  1文件")
    private Boolean fileTrue;

    @ApiModelProperty("是否叶子节点")
    private Boolean leafTrue;

    @ApiModelProperty("是否为空")
    private Boolean bank;

    @ApiModelProperty("是否是链接文档")
    private Boolean link;

    @ApiModelProperty("是否被锁")
    private Boolean sock;

    @ApiModelProperty("权限")
    private String permissions;

    @ApiModelProperty("文件后缀")
    private String fileSuffix;

    @ApiModelProperty("文件大小")
    private long fileSize;

    @ApiModelProperty("上次修改时间")
    private Date lastUpdateTime;
}